WPSecurityNinja\Plugin\Wf_Sn D

Total Complexity 348
Dependencies 6
Dependents 2
Total lines 2,934
Lines of code 2,014
Logical lines of code 945
Comment lines 836
Methods 69
Properties 4

Methods 69

Method Rating Maintainability Complexity Lines of code
do_admin_notices()
D
27
33 148
run_tests()
C
32 28 101
tab_tests()
B
28
18 138
run_single_test()
B
36 18 82
run_all_tests()
B
37 16 68
do_event_run_tests()
A
40 14 58
main_page()
A
38 11 78
secnin_fs_opt_in()
A
41 11 61
signup_to_newsletter()
A
42 8 60
return_last_login_column()
A
48 10 29
check_freemius_state()
A
46 9 42
wpsn_dashboard_widget_render()
A
39 6 80
secnin_fs_license_key_migration()
A
49 9 31
init()
A
36 5 90
enqueue_scripts()
A
38 6 75
return_tabs()
A
42 7 59
is_plugin_page()
A
60 10 11
return_test_scores()
A
44 7 43
get_single_test_details()
S
51 7 27
activate()
S
54 7 18
register_settings()
S
53 6 21
do_filter_mainwp_child_extra_execution()
S
56 6 19
create_select_options()
S
51 5 27
do_filter_mainwp_site_sync_others_data()
S
53 5 21
get_options()
S
58 5 15
admin_print_footer_scripts()
S
46 2 56
admin_menu()
S
53 4 24
do_action_wfsn_enable_background_updates()
S
53 4 23
wf_sn_dismiss_review()
S
54 4 20
create_toggle_switch()
S
56 4 16
update_test_score()
S
57 3 19
sanitize_settings()
S
60 3 13
freemius_reset_activation()
S
61 3 13
get_test_results()
S
60 3 13
render_events_logger_page()
S
51 1 40
render_cloudfw_page()
S
51 1 38
admin_footer()
S
57 2 19
render_malware_page()
S
53 1 33
render_core_page()
S
54 1 31
cmp_status_score()
S
69 3 6
do_action_admin_init()
S
65 3 8
checked()
S
65 3 9
status()
S
63 3 10
generate_sn_web_link()
S
58 2 15
do_action_activated_plugin()
S
72 3 5
deactivate()
S
67 3 8
render_whitelabel_page()
S
55 1 28
get_icon_svg()
S
63 2 12
render_scheduled_scanner_page()
S
56 1 24
add_freemius_extra_permission()
S
59 1 15
plugin_action_links()
S
67 2 7
default_options()
S
61 1 13
uninstall()
S
62 1 11
do_filter_debug_information()
S
62 1 11
add_settings_error()
S
63 1 11
get_admin_url()
S
70 1 6
show_sec_tests_warnings()
S
89 1 2
plugin_meta_links()
S
81 1 3
plugins_loaded()
S
74 1 4
min_version_error()
S
76 1 3
show_topbar()
S
73 1 4
get_plugin_name()
S
68 1 7
get_plugin_version()
S
68 1 7
timerstop()
S
71 1 5
timerstart()
S
77 1 3
add_dashboard_widgets()
S
69 1 7
secnin_fs_custom_icon()
S
80 1 3
add_user_last_login_column()
S
74 1 4
do_filter_show_admin_notice()
S
81 1 3